Passer au contenu principal
DELETE
/
public
/
v1
/
segment-service
/
segments
/
{segment-id}
[BETA] Delete a segment.
curl --request DELETE \
  --url https://api.topsort.com/public/v1/segment-service/segments/{segment-id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Autorisations

Authorization
string
header
requis

A valid API key generated in Topsort's UI.

Paramètres de chemin

segment-id
string
requis

The ID of the segment.

Réponse

Successful Response